﻿using Benefactor.Models.DbModels;
using Bigway.Common;
using Bigway.Common.Services.Repositories;

namespace Benefactor.Services.Repositories;
using static Statics;

public class BenefitsCardOrderStatusRepository(IServiceProvider sp) 
    : BaseCodeNameEntityRepository<BenefitsCardOrderStatus>(sp), 
      IBenefitsCardOrderStatusRepository
{
    public override List<BenefitsCardOrderStatus> InitialEntities => [

        new BenefitsCardOrderStatus
        {
            SystemId = SystemIds.GiftPiker,
            Code = PaidBenefitsCardOrderStatus,
            Name = "买家已支付"
        },
        new BenefitsCardOrderStatus
        {
            SystemId = SystemIds.GiftPiker,
            Code = RefererFeePaidBenefitsCardOrderStatus,
            Name = "佣金已产生"
        },
        new BenefitsCardOrderStatus
        {
            SystemId = SystemIds.GiftPiker,
            Code = ClosedBenefitsCardOrderStatus,
            Name = "已关闭"
        }
    ];
}